using System;
using System.Collections.Generic;
using System.Text;

namespace PatternMaker
{
	/// <summary>
	/// Event arguments used to report progress.
	/// </summary>
	public class ProgressEventArgs : EventArgs
	{
		private string _description;
		private int _progress;


		/// <summary>
		/// Initializes an instance of the ProgressEventArgs class.
		/// </summary>
		public ProgressEventArgs()
		{
		}

		/// <summary>
		/// Initializes an instance of the ProgressEventArgs class.
		/// </summary>
		/// <param name="progress">The current progress.</param>
		public ProgressEventArgs(int progress)
			: this()
		{
			Progress = progress;
		}

		/// <summary>
		/// Initializes an instance of the ProgressEventArgs class.
		/// </summary>
		/// <param name="progress">The current progress.</param>
		/// <param name="description">A description of the current status.</param>
		public ProgressEventArgs(int progress, string description)
			: this(progress)
		{
			Description = description;
		}


		/// <summary>
		/// A description of the current status.
		/// </summary>
		public string Description
		{
			get { return _description; }
			set { _description = value; }
		}

		/// <summary>
		/// The current progress.
		/// </summary>
		public int Progress
		{
			get { return _progress; }
			set { _progress = value; }
		}
	}
}
